import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import get from '@dfeidao/atom-mobile/local/get';
import set from '@dfeidao/atom-mobile/local/set';
// import nodejs from '@dfeidao/atom-mobile/msg/nodejs';
// import render from '@dfeidao/atom-mobile/render/render';
import a007 from './a007';
export default async function a002(fd: IFeidaoAiMobile, e: Event, page_no: number) {
	if (!page_no) { return; } // 判断是否有值
	// console.log(page_no);
	const new_len = get(fd, 'new_len') as number;
	const ys = get(fd, 'ys') as number;
	if (new_len === 20) {
		if (page_no <= ys) {
			set(fd, 'page_no', page_no);// 存储获取的值
			a007(fd);// 调用a001
		}
	}
}
